package assdraw2.canvas.abstraction.command;

import java.awt.Color;

import assdraw2.canvas.abstraction.CanvasShapeModel;
import assdraw2.canvas.abstraction.Triangle;


public class TriangleCommand implements AddCommand{

	@Override
	public void execute(int x, int y, CanvasShapeModel myDrawing, Color c) {
		myDrawing.addShape(new Triangle(x, y, c));
	}

}
